#ifndef SUMMATORWIDGET_H
#define SUMMATORWIDGET_H

#include <QWidget>
#include <QPushButton>
#include <QLabel>
#include <QVBoxLayout>
#include <QGridLayout>
#include <QLineEdit>
#include "../../app/Summator/summator.h"

class SummatorWidget : public QWidget
{
    Q_OBJECT

    QLabel* result;
    QLineEdit* aField;
    QLineEdit* bField;
    QPushButton* submit;

    Summator sum;

public:
    explicit SummatorWidget(QWidget *parent = 0);

signals:

private slots:
    void setSum();

};

#endif // SUMMATORWIDGET_H
